package com.lotus.lqmp.service.sdk.api;

import com.lotus.lqmp.service.sdk.dto.req.XXXReqDTO;
import com.lotus.lqmp.service.sdk.dto.resp.XXXRespDTO;
import com.lotus.platform.common.model.base.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * YYY feign接口
 * 通过ip或域名调用
 * @author Liwei.Zhang3
 * @since 2022/03/15 10:22
 */
@FeignClient(value = "${yyy.feign.name:lotus-yyy-server}", url = "${yyy.feign.path:http://www.yyy.com/api}")
public interface YYYApi {

    @PostMapping("echo")
    BaseResult<XXXRespDTO> echo(@RequestBody XXXReqDTO reqDTO);
}
